package com.cowain.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.cowain.monitor.entity.ErpCustomerEntity;

import java.util.List;

/**
 *  
 *  * @author 冬暖
 *  * @projectName pms-monitor
 *  * @title     ErpCustomerService   
 *  * @package    com.cowain.monitor.service  
 *  * @description    ERP客户信息       
 *  * @date   2020/8/5 10:31  
 *  * @version V1.0.0
 *  
 */
public interface ErpCustomerService extends IService<ErpCustomerEntity> {
    /**
     * 获取客户数据
     * @return 客户数据
     */
    List<ErpCustomerEntity> findCustomerList();

    /**
     * 添加客户数据
     * @param erpCustomerEntities 客户数据
     */
    void insertClient(List<ErpCustomerEntity> erpCustomerEntities);

    /**
     * 修改客户信息
     * @param erpCustomerEntities 客户数据
     */
    void updateCustomer(List<ErpCustomerEntity> erpCustomerEntities);
}
